package cn.it.ygh.mapper;

import java.util.List;
import java.util.Map;

import cn.it.ygh.pojo.Apply;
import cn.it.ygh.pojo.HouseInfo;
import cn.it.ygh.pojo.Renter;
import cn.it.ygh.pojo.User;
public interface HouseDealMapper {
	public List<HouseInfo> getHouseInfo(int minPrice, int maxPrice,int minArea,int maxArea,int layout);
	List<HouseInfo> findByPage(Map<String, Object> map);
	List<HouseInfo> findByPage1(Map<String, Object> map);
	List<HouseInfo> findByPage2(Map<String, Object> map);
	public int selectCount(Map<String, Object> map);
	public int selectCount1(Map<String, Object> map);
	public int selectCount2(Map<String, Object> map);
	public HouseInfo getIdInfo(int id);
	public void saveDataInDB(Map<String, Object> map);
	public int selectCount3(Map<String, Object> map);
	public List<Renter> findByPage3(Map<String, Object> map);
	public void saveDataInDB1(Map<String, Object> map);
	
	public User getUserById(int userId);
	
	public List<Renter> getRenterById(int houseId);
}
